#pragma once
#include "yzrutil.h"
namespace yzrilyzr_io{
	class File;
}
namespace yzrilyzr_lang{
	EBCLASS(Runtime){
	private:
	Runtime();
	public:
	static Runtime & getRuntime();
	void exit(int32_t status);
	int32_t availableProcessors();
	int64_t freeMemory();
	int64_t totalMemory();
	int64_t maxMemory();
	//void exec(const std::vector<std::string> &command, const std::vector<std::string> &envp, yzrilyzr_io::File dir);
	};
}